import { responseCode } from "../responseCode";
const en = {
  languageName: "English",
  account: {
    login: "Login",
    loginByPhone: "Use Phone",
    loginByQRCode: "QRCode",
    registe: "Sign In",
    otherLoginMethods: "Other Login Methods",
    rememberMe: "Remember Me",
    forgetPassword: "Forgot my password?",
    sendValiCode: "Send",
    account: "Account",
    password: "Password",
    valicode: "Valicode",
    qrCode: "QR Code",
    phone: "Phone",
    cannotReceiveValiCode: "Cannot receive valicode?",
    return: "Return",
  },
  profile: {
    myAccount: "Account Details",
    username: "Username",
    usernameDescription: "Your username may appear around your post, article, repo, etc...And you can login with your username.",
    email: "Email",
    emailDescription: "Your personal email, and you can login with your email.",
    bio: "Bio",
    bioDescription: "Say something...??",
    avater: "Avater",
    myProfile: "Profile",
    name: "Name",
    nameDescription: "Your realname.",
    gender: "Gender",
    genderDescription: "Why do you wanna change your gender??",
    phone: "Phone",
    phoneDescription: "Your real phone number.",
    birthday: "Birthday",
    birthdayDescription: "Choose your birthday!",
    address: "Address",
    addressDescription: "Please input your real address.",
    submitAccountDetails: "Submit Account Details",
    submitStaffDetails: "Submit Staff Details",
  },
  operations: {
    cropAvater: "Crop Avater",
    showOrModifyStaffDetail: "Staff Details",
    refresh: "Refresh",
    createStaff: "Create",
    createDepartment: "Create",
    deleteStaff: "Delete",
    changePassword: "Change Password",
    closeAccount: "Lock Account",
    openAccount: "Unlock Account",
    closeDepartment: "Close Department",
    openDepartment: "Open Department",
    department: "DEPT",
    all: "ALL",
    searchHint: "Search...",
    me: "Me",
    translatePost: "Translate Post",
    closePostTranslation: "Close Translation",
    showPostTranslation: "Show Translation"
  },
  words: {
    male: "Male",
    female: "Female"
  },
  errors: {
    default: "Wrong data...",
    accountLength: "Account cannot shorter then 6 character",
    passwordLength: "Password cannot shorter than 6 character",
    userNotFound: "User not found",
  },
  responseCode: {
  },
  table: {
    staff: {
      name: "Staff name",
      gender: "Gender",
      phone: "Phone",
      department: "Department",
      state: "State",
      note: "Note"
    },
    department: {
      name: "Name",
      state: "State",
      createTime: "Create Time",
      note: "Note"
    },
    action: "Action"
  },
  enums: {
    staffState: {
      OK: 'In office',
      RESIGNED: 'Resigned',
      LEAVING: 'Leaving'
    },
    accountState: {
      OK: "OK",
      CLOSED: "Closed"
    },
    departmentState: {
      OK: "Ok",
      CLOSED: "Closed"
    },
    role: {
      ROLE_NORMAL: "User",
      ROLE_SUPERADMIN: "Super Admin",
      ROLE_DEPTADMIN: "Department Admin",
      ROLE_ARTADMIN: "Article Admin",
    },
    gender: {
      MALE: "male",
      FEMALE: "female"
    }
  },
  routes: {
    dashboard: "Dashboard",
    analyse: "Analyse",
    workbench: "Workbench",
  },
};

en.responseCode[responseCode.SUCCESSED] = "Succesed";
en.responseCode[responseCode.PERMISSION_DENIED] = "Permission Denied";
en.responseCode[responseCode.WRONG_PARAMETER] = "Wrong Parameter";
en.responseCode[responseCode.ACCOUNT_DOESNT_EXISTS] = "Account doesn't exists!";
en.responseCode[responseCode.ACCOUNT_AND_PASSWORD_MISMATCH] = "Account and password mismatch!";
en.responseCode[responseCode.VERIFICATION_CODE_INCORRECT] = "Vertification code is incorrect";
en.responseCode[responseCode.ACCOUNT_CLOSED] = "Your account has been closed!";
en.responseCode[responseCode.TOKEN_INCORRECT] = "Wrong token";
en.responseCode[responseCode.SERVER_INTERNAL_ERROR] = "Server internal error";
en.responseCode[responseCode.UNKNOWN_ERROR] = "Unknown error";


export default en;